import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useUserStore = defineStore(
  'main',
  () => {
    const userinfo = ref({
        UserZH : "",
        islogin:false
    })
    return { userinfo }
  },
  {
    persist: true,
  },
)